﻿@model RedSand.Site.Models.LoginModel
@{
    ViewBag.Title = "Login";
    Layout = null;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Login</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- mws theme -->
    <link rel="stylesheet" type="text/css" href="/content/backend/mws-theme/css/style.css"
        media="screen" />
    <!-- common javascript -->
    <script type="text/javascript" src="/scripts/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/scripts/jquery-ui-1.8.17.min.js"></script>
    <script type="text/javascript" src="/scripts/jquery.cookie.js"></script>
    <script type="text/javascript" src="/scripts/jquery.placeholder.js"></script>
    <!-- mvc javascript -->
    <script src="/scripts/jquery.validate.min.js" type="text/javascript"></script>
    <script src="/scripts/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>
    <script src="/scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script>
    <!-- theme javascript -->
    <script type="text/javascript" src="/content/backend/mws-theme/js/theme.js"></script>
    <!-- rs script common -->
    <script src="/scripts/rs.admin.common.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(window).load(function () {
            showMessage('@Html.Action("GetMessage", "Base")');
        });
    </script>
</head>
<body>
    <div id="login">
        <h1>
            Login
        </h1>
        <div class="login-lock">
            <img src="../../Content/Base-theme/icons/24/locked-2.png" alt="" /></div>
        @using (Html.BeginForm())
        {
            <div class="form-cell none-float">
                @Html.TextBoxFor(model => model.Username, new { id = "txtUserName", placeholder = "Username", @class = "login-username" })
            </div>
            <div class="form-cell none-float">
                @Html.PasswordFor(model => model.Password, new { id = "txtPassWord", placeholder = "Password", @class = "login-password" })
            </div>
            <div class="form-cell none-float">
                @Html.CheckBoxFor(model => model.RememberMe)
                <label style="color:#fff;font-weight:bold; display:inline" for="RememberMe">Remember me</label>
            </div>
            <div class="form-cell none-float">
                <input type="submit" value="Login" class="login-button green button" />
            </div>
        }
    </div>
</body>
</html>
